package com.yitao.client.dto.push;


import com.skipper.base.dto.BaseDtoWithId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

public class PushMessageDto extends BaseDtoWithId {


    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Long id;


    /**
     * 消息类型 1 系统消息
     */
    @ApiModelProperty("消息类型 1 系统消息")
    private String msgType;


    /**
     * 消息类型 1 用户
     */
    @ApiModelProperty("消息类型 1 用户")
    private String clientType;


    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String msgTitle;


    /**
     * 发送时间
     */
    @ApiModelProperty("发送时间")
    private String sendTime;


    /**
     * 内容
     */
    @ApiModelProperty("内容")
    private String msgContent;


    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建时间-前端展示")
    private String createTimeString;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private Long lastUpdateBy;


    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date lastUpdateTime;


    /**
     * 是否被删除 （0 否 1 删除）
     */
    @ApiModelProperty("是否被删除 （0 false 1 true）")
    private Boolean isDelete;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateTimeString() {
        return createTimeString;
    }

    public void setCreateTimeString(String createTimeString) {
        this.createTimeString = createTimeString;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }
}
